<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:zj="http://www.zju.edu.cn" elementFormDefault="qualified">
  <xs:import namespace="http://www.zju.edu.cn" schemaLocation="CodeTableItem.xsd"/>
  <xs:element name="Toolkit">
    <xs:complexType>
      <xs:sequence maxOccurs="unbounded">
        <xs:element ref="zj:CodeTable"/>
      </xs:sequence>
      <xs:attribute name="version" default="2.0" type="xs:string"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="TableName" type="xs:string"/>
  <xs:element name="CodeField" type="xs:string" default="CODE_VALUE"/>
  <xs:element name="NameField" type="xs:string" default="CODE_NAME"/>
  <xs:element name="Where">
    <xs:complexType mixed="true">
      <xs:choice minOccurs="0" maxOccurs="unbounded"/>
      <xs:attribute name="NeedParse" type="xs:boolean"/>
      <xs:attribute name="SQLInject" type="xs:boolean"/>
      <xs:attribute name="EmptyMarco" type="xs:string"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="OrderBy" type="xs:string"/>
</xs:schema>
